using System;
using System.Collections.Generic;

namespace CMS.Core.Domain
{
    /// <summary>
    /// VaiTro object for NHibernate mapped table Categories.
    /// </summary>
    [Serializable]
    public class VaiTro : DomainObject<System.Int32>
    {
        private System.String _TenVaiTro;
        private System.Boolean _IsSelect = false;

        public VaiTro()
        {
        }

        public VaiTro(System.Byte id)
        {
            base.ID = id;
        }

        public virtual System.String TenVaiTro
        {
            get { return _TenVaiTro; }
            set { _TenVaiTro = value; }
        }

        public virtual System.Boolean IsSelect
        {
            get { return _IsSelect; }
            set { _IsSelect = value; }
        }

        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }

     }
}
